package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Address;

import java.util.List;

public interface AddressDao {
    void add(Address address);
    Page<Address> selectByCondition(String queryString);
    Address findById(Integer id);
    void edit(Address address);
    void delete(Integer id);
    long findByIdFromOrder(Integer id);
    List<Address> findAll();

    Address findByName(String addressName);
}
